package com.hanbang.chu_xing_gao_zhao.view_public;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.hanbang.chu_xing_gao_zhao.base.BaseActivity;
import com.hanbang.cxgz_2.R;

/**
 * 成功提示
 */
public class SucceedHintActivity extends BaseActivity {
    private String title;
    private TextView contentHint;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.succeed_hint);
        initView();
    }

    /**
     * 初始化view
     */
    private void initView() {
        contentHint=(TextView)findViewById(R.id.tv_succeed_hint_hintText);

        Intent intent = getIntent();
        title = intent.getStringExtra("title");
        contentHint.setText(intent.getStringExtra("contentHint"));

        setBackArrows(findViewById(R.id.bar_top_conver_classify_back));

        setTitleMore(View.VISIBLE, View.INVISIBLE, title, null, null, null);
    }


    @Override
    protected void onResume() {

        super.onResume();
    }

    @Override
    protected void onPause() {
        // TODO Auto-generated method stub
        super.onPause();
    }

    @Override
    protected void onDestroy() {
        // TODO Auto-generated method stub
        super.onDestroy();
    }
}
